
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var UserSchema = new Schema({
    username: String,
    password: String,
    name:String,
    gender:String,//性别
    carCard:String,//驾照号
    idCard:String,//身份证号码
    ban:Array,
    place:String,//城市
    check:Boolean,//是否通过审核
    data: Date,//创建时间
    userType:Array,//用户类型
});


mongoose.model("users", UserSchema, "users");